<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="ie=edge,chrome=1">
    <meta name="viewport" content="width=device-width,initial-scale=1.0, user-scalable=0, minimum-scale=1.0, maximum-scale=1.0">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-touch-fullscreen" content="yes">
    <meta name="format-detection" content="telephone=no">
    <!--留存统计-->
    <script type="text/javascript" src="https://hy.yixueqm.com/zhiming/index.php/Home-Interface-remain?typeName=XZ&nickName=星座测算&channel=<!--{$Think.cookie.channel}-->&uid=<!--{$Think.cookie.uid}-->"></script>

    <title>占星解读</title>
    <!--[if lt IE 9]>  
        <script src="http://cdn.bootcss.com/html5shiv/r29/html5.js"></script>
        <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>    
    <![endif]-->
    <link rel="stylesheet" href="__PUBLIC__/css/ZM_share.css" />
    <link rel="stylesheet" href="__PUBLIC__/css/LArea.css">
    <link rel="stylesheet" href="__PUBLIC__/css/DateSelector.css">
    <script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_1273942606'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D1273942606' type='text/javascript'%3E%3C/script%3E"));</script>

    <script type="text/javascript">
        var cnzz_protocol = (("https:" == document.location.protocol) ? " https://" : " http://");document.write(unescape("%3Cspan style='display:none;' id='cnzz_stat_icon_"+<!--{$channelID}-->+"'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s19.cnzz.com/z_stat.php%3Fid%3D"+<!--{$channelID}-->+"' type='text/javascript'%3E%3C/script%3E"));
    </script>

    <script src="__PUBLIC__/js/jquery.min.js"></script>
    <script src="__PUBLIC__/js/DateSelector.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/rem.js"></script>
    <script src="__PUBLIC__/js/LArea.js"></script>
    <script src="__PUBLIC__/js/LAreaData1.js"></script>
    <script src="__PUBLIC__/js/layer/layer.js"></script>
    <script src="https://res.wx.qq.com/open/js/jweixin-1.2.0.js"></script>
    <style>
        body{
            background-color: #1C1934;
        }
        .main_title{
            width:100%;
            padding:0.2rem;
            box-sizing: border-box;
            -webkit-box-sizing:border-box;
            -moz-box-sizing: border-box;
            -ms-box-sizing: border-box;
            -o-box-sizing:border-box; 
        }
        .main_title img{vertical-align: middle;}
        .zm_form{
            width: 100%;
            padding-bottom: 0.6rem;
        }
        .zm_form .zm_form_wrap .boss-iimg{
            padding-top: 20px;
            padding-bottom: 10px;
        }
        .zm_form .zm_form_wrap ul{border:none; background-color: rgba(0,0,0,0);}
        .zm_form .zm_form_wrap ul li{background-color: #fff; margin-bottom:0.2rem;border: 1px solid #d6d6d6;height: 1rem;
        display: flex;align-items: center;}
        .zm_form .zm_form_wrap ul li .Js_date{width: 5rem;}
        .zm_form .zm_form_wrap ul li .form_auto span i{border-color:#898989;}
        /* .zm_form .zm_form_wrap .form_auto .on i{border-color: #5994EB;background-color: #5994EB;} */
        .zm_form .zm_form_wrap .form_auto span{
            padding-top: 0;
        }
        .zm_form .zm_form_wrap ul li .form_left{
            font-size: 0.3rem;
            color: #333333;
            font-weight: 600;
        }
	
        .zm_form .zm_form_wrap .form_auto .Js_date{background: url('__PUBLIC__/images/vivo/xz/e/rili.png') 98% center no-repeat;background-size: 18px auto;}
        
        .fiex_bt a,.cs_btn{
            width: 6.9rem;
	height: 0.88rem;
	background-image: linear-gradient(90deg, 
		#ffe25b 0%, 
		#fca932 100%);
	border-radius: 0.44rem;
    display: flex;
    justify-content: center;
    align-items: center;
        }
        .cs_btn a {
            font-size: 0.38rem;
	color: #7f2e0d;
    text-decoration: none;
        }
        .total-num{
            text-align: center;
            color: #fff;
            font-size: .24rem;
        }
        .total-num span{
            color: #f34a4a;
        }
        .fiex_bt{
            height: 1rem;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .fiex_bt a{
            margin: 0
        }

        .img_container{background-color:#FFF2B8;padding-top:0.2rem;}
        .img_wrap img{vertical-align: middle;}
        .img_ul{list-style: none;padding:0.2rem;}
        .img_ul li{padding-bottom: 0.1rem;}
        .img_ul li:nth-last-child(1){padding-bottom: 0;}
        .img_ul li img{vertical-align: middle;border-radius: 0.1rem;}

        
        .pj_container{padding:0 0.2rem 0.4rem;}
        .pj_wrap{background-color:#5994EB;border-radius: 0.1rem;}
        .pj_title{padding:0.3rem;text-align: center;}
        .pj_title::before{
            content: '';
            width:3.46rem;
            height:0.34rem;
            background:url('__PUBLIC__/images/xzcs_img/pj_title.png') no-repeat;
            background-size: 100% 100%;
            display: inline-block;
            vertical-align: middle;
        }
        .pj_ul{list-style: none;padding:0 0.25rem 0.25rem;}
        .pj_ul li{background-color:#ffffff;border-radius: 0.1rem;padding:0.2rem;margin-bottom: 0.1rem;}
        .pj_ul li:nth-last-child(1){margin-bottom:0;}
        .li_t{font-size:0.26rem;color:#999999;line-height: 0.5rem;}
        .li_t span:nth-child(1){margin-right:0.2rem;}
        .li_c{font-size:0.26rem;color:#333333;line-height: 0.4rem;}

        .bg-img{
            width: 100%;
            display: block;
            height: auto;
        }
        .tohistory{
            text-decoration: underline;
            font-size: 0.32rem;
            line-height: 0.42rem;
            letter-spacing: 0rem;
            color: #fff;
            display: block;
            text-align: center;
            margin-top: 0.1rem;
        }
        .zm_form .zm_form_wrap ul li .form_left{
            flex:none;
        }
        .zm_form .zm_form_wrap .form_auto .on font,.zm_form .zm_form_wrap .form_auto .Js_date,.zm_form .zm_form_wrap ul li .form_auto input{
            font-size: .3rem;
        }
    </style>
</head>
<body>
    <div class="zm_banner">
        <if condition="$Think.cookie.channel eq mpxx">
            <img src="__PUBLIC__/images/vivo/xz/e/dingbu.2.png" width="100%" />
            <else />
            <img src="__PUBLIC__/images/vivo/xz/e/dingbu.png" width="100%" />
        </if>

    </div>
    <div class="main_title" id="scrollT"></div>
    <main>
        <section>
            <form id="_form" class="zm_form" action="<!--{:U('Xzcs/xzcs_zhifu','',false)}-->" method="post">
                <div class="zm_form_wrap">
                    <ul>
                        <li>
                            <div class="form_left">您的性别</div>
                            <div class="form_auto">
                                <span class="on" id="but_man" data-value="1">
                                    <i></i>
                                    <font>男</font>
                                </span>
                                <span id="but_woman" data-value="0">
                                    <i></i>
                                    <font>女</font>
                                </span>
                                <input type="hidden"  id="sex" name="gender" value="1"/>
                                <input type="hidden"  name="username" value="匿名"/>
                            </div>
                        </li>
                        <li>
                            <div class="form_left">出生日期</div>
                            <div class="form_auto">
                                <div type="text" class="Js_date" data-date="1985-04-18-7" id="datetime">请选择出生日期</div>
                                <input type="hidden" id="birthday" name="birthday"  value="" >
                            </div>
                        </li>
                        <li>
                            <div class="form_left">出生地点</div>
                            <div class="form_auto">
                                <input id="areaplugin" type="text" readonly="" name="area" value="" placeholder="请选择出生地点"/>
                            </div>
                        </li>
                    </ul>
                    <div class="cs_btn"><a href="javascript:;" class="mg_btn">立即测算</a></div>
                    <div class="total-num">已为<span>113200</span>人生成报告</div>
                    <a class="tohistory" href="<!--{:U('Index/mycesuan','',false)}-->">查看我的测算记录</a>
                </div>
            </form>
            
            <!-- <div class="innum">目前已有<b>13213</b>人查看姓名测算分析</div> -->
        </section>


        <img src="__PUBLIC__/images/vivo/xz/e/dibu.png" alt="" class="bg-img">
        <if condition="$Think.cookie.channel eq mpxx">
            <img src="__PUBLIC__/images/vivo/xz/e/dibu.2.png" alt="" class="bg-img">
            <else />
            <img src="__PUBLIC__/images/vivo/xz/e/dibu.1.png" alt="" class="bg-img">
        </if>






        <!-- <section class="img_container">
            <div class="img_wrap"><img src="__PUBLIC__/images/xzcs_img/jiexi.png" width="100%" alt=""></div>
            <ul class="img_ul">
                <li><img src="__PUBLIC__/images/xzcs_img/xingge01.png" width="100%" alt=""></li>
                <li><img src="__PUBLIC__/images/xzcs_img/xingge02.png" width="100%" alt=""></li>
                <li><img src="__PUBLIC__/images/xzcs_img/xingge03.png" width="100%" alt=""></li>
                <li><img src="__PUBLIC__/images/xzcs_img/xingge04.png" width="100%" alt=""></li>
            </ul>
            <div class="img_wrap"><img src="__PUBLIC__/images/xzcs_img/tiss.png" width="100%" alt=""></div>
            <div class="img_wrap"><img src="__PUBLIC__/images/xzcs_img/zycs.png" width="100%" alt=""></div>
        </section>
        <section class="pj_container">
            <div class="pj_wrap">
                <div class="pj_title"></div>
                <ul class="pj_ul">
                    <li>
                        <p class="li_t"><span>石家庄</span><span>钟先生</span></p>
                        <p class="li_c">分析得很详细，也很中肯，让我知道原来事情都有他的原因和解决方式。突然从心里涌起了很多正能量！</p>
                    </li>
                    <li>
                        <p class="li_t"><span>宁波</span><span>江小姐</span></p>
                        <p class="li_c">怎么占星也能看健康吗？怎么说的毛病我全部都有？看来今年要好好做体检，调理好身体！</p>
                    </li>
                    <li>
                        <p class="li_t"><span>威海</span><span>范先生</span></p>
                        <p class="li_c">原来占星还能看出来我喜欢什么类型的女生啊，太厉害了！好的好的，我会听话的！按照占星的建议，我会好好施展我的人格魅力，一举拿下女神！</p>
                    </li>
                </ul>
            </div>
        </section> -->
    </main>
    <!-- 时间 -->
    <div id="targetContainer"></div>
    <script>
        //测算底部悬浮
        $(function(){
            var topShow=$(".cs_btn");
            if(topShow.length){
                var topShow=topShow.offset().top;
                var testBtn=$("#fiex");
                $(window).scroll(function(){
                    var wt=$(window).scrollTop();
                    wt>topShow?(testBtn.fadeIn(),$('.footer_severs').css('padding-bottom','1.2rem')):(testBtn.fadeOut(),$('.footer_severs').css('padding-bottom','0.4rem'));
                });
                // goTop
                $('#fiex').on('click',function(){
                    console.log('to top')
                    $('html,body').animate({scrollTop:$('#scrollT')[0].offsetTop},500)});

                $.getJSON("<!--{:U('Index/indexXfan','',false)}-->",{csName:'XZ'},function(data){//首页-悬浮按钮统计
                });
            }
        });
        // 时间
        new DateSelector({
            input: 'datetime',//点击触发插件的input框的id
            container: 'targetContainer',//插件插入的容器id
            type: 0,
            //0：不需要tab切换，自定义滑动内容，建议小于三个；
            //1：需要tab切换，【年月日】【时分】完全展示，固定死，可设置开始年份和结束年份
            param: [1, 1, 1, 1, 1,],
            //设置['year','month','day','hour','minute'],1为需要，0为不需要,需要连续的1
            beginTime: [1900, 1, 1,0,0],//如空数组默认设置成1970年1月1日0时0分开始，如需要设置开始时间点，数组的值对应param参数的对应值。
            endTime: [],//如空数组默认设置成次年12月31日23时59分结束，如需要设置结束时间点，数组的值对应param参数的对应值。
            recentTime: [1990,1,1,0,0],//如不需要设置当前时间，被为空数组，如需要设置的开始的时间点，数组的值对应param参数的对应值。
            success: function (dateArr) {
                document.querySelector('#datetime').style.color = '#333333';
                document.querySelector('#datetime').innerHTML = dateArr[0]+'年'+dateArr[1]+'月'+dateArr[2]+'日'+' '+dateArr[3]+'时'+dateArr[4]+'分'
                var newdateArr = [];
                dateArr.forEach(function(item){item < 10?item = '0'+item:item;newdateArr.push(item)});
                document.querySelector('#birthday').value = newdateArr.join('-');
            }//回调
        });

        var area = new LArea();
        area.init({
            'trigger': '#areaplugin',//触发选择控件的文本框，同时选择完毕后name属性输出到该位置
            'valueTo':'',//选择完毕后id属性输出到该位置
            'keys':{id:'id',name:'name'},//绑定数据源相关字段 id对应valueTo的value属性输出 name对应trigger的value属性输出
            'type':1,//数据源类型
            'data':LAreaData//数据源
        });

        $(".cs_btn").on('click',function(){
            $.getJSON("<!--{:U('Index/indexLjcs','',false)}-->",{csName:'XZ'},function(data){//首页-立即测算统计
            });

            if($("[name='birthday']").val() == ""){
                layer.msg("请选择出生日期");
                return false;
            }
            if($("[name='area']").val() == ""){
                layer.msg("请选择出生地点");
                return false;
            }
            var oli = layer.load();
            setTimeout(function(){
                layer.closeAll('loading');
                layer.msg('订单提交成功', {icon: 1});
                setTimeout(function(){
                    document.getElementById('_form').submit();
                },1300);
            },1000);
        });

        // 选择按钮
        var obut_man = document.getElementById('but_man');
        var obut_woman = document.getElementById('but_woman');
        var osex = document.getElementById('sex');
        obut_man.onclick = function(){
            obut_man.classList.add("on");
            osex.value = 1;
            obut_woman.classList.remove('on');
        }
        obut_woman.onclick = function(){
            obut_woman.classList.add("on");
            osex.value = 0;
            obut_man.classList.remove('on');
        };
    </script>
</body>
</html>